package com.liveneo.adapter.mobile.service;

import java.util.List;

import com.liveneo.adapter.base.entity.PrpmUploadImage;
import com.liveneo.adapter.base.entity.PrpmUploadOcrImg;
import com.liveneo.adapter.base.entity.PrpmUploadVideo;

/**
 * @Desc：
 * 
 * @Title：PrpmUploadService
 * @address: http://www.liveneo.com.cn/
 * @author: zhangyw
 * @version: 1.0
 * @date: 2016年10月17日 下午1:30:12
 */

public interface PrpmUploadService {

    /**
     * 
     * @Title：插入图片或者视频
     * 
     * @author zhangyw 2016年10月17日 下午1:30:18
     * @param prpmUploadImg
     * @param prpmVideo
     * @throws Exception
     */

    public int prpmUpload(PrpmUploadImage prpmUploadImage, PrpmUploadVideo prpmUploadVideo) throws Exception;

    public int prpmUploadImage(PrpmUploadImage prpmUploadImage) throws Exception;

    public int prpmUploadVideo(PrpmUploadVideo prpmUploadVideo) throws Exception;

    public int saveUploadOcrImg(PrpmUploadOcrImg prpmUploadImg) throws Exception;

    /**对外接口start**/
    int updateUploadImageStayUploadById(PrpmUploadImage prpmUploadImage);
    
    int updateUploadVideoeStayUploadById(PrpmUploadVideo prpmUploadVideo);
    
    List<PrpmUploadImage> selectImageStayUploadByCaseNoPage(String caseNo,String stayUpload,String lossItemId,String pageNum);
    
    List<PrpmUploadImage> selectImageStayUploadByCaseNoList(String caseNo,String stayUpload,String lossItemId);
    
    List<PrpmUploadVideo> selectVideoStayUploadByCaseNoPage(String caseNo,String stayUpload,String lossItemId,String pageNum);
    
    List<PrpmUploadVideo> selectVideoStayUploadByCaseNoList(String caseNo,String stayUpload,String lossItemId);
    /**对外接口end**/
}
